package com.bdqn.membersystem.servicce.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.mapper.AuUserMapper;
import com.bdqn.membersystem.pojo.AuUser;
import com.bdqn.membersystem.servicce.AuUserService;
@Service
public class AuUserServiceImpl implements AuUserService{

    @Resource
    private AuUserMapper auUserMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return auUserMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insertSelective(AuUser record) {
        return auUserMapper.insertSelective(record);
    }

    @Override
    public AuUser selectByPrimaryKey(Long id) {
        return auUserMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AuUser record) {
        return auUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<AuUser> list) {
        return auUserMapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<AuUser> list) {
        return auUserMapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(AuUser record) {
        return auUserMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(AuUser record) {
        return auUserMapper.insertOrUpdateSelective(record);
    }

}
